package com.smartfast4j.manager.common.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 系统侧边栏导航菜单
 * Created by gacl on 2017/9/5.
 */
public class SidebarMenu implements Serializable {

    private String id;//菜单ID
    private String text;//菜单显示文本
    private String url;//菜单URL
    private String targetType;//菜单打开方式（iframe-tab、blank）
    private String icon;//菜单图标（fa fa-plus-square-o）
    private boolean isOpen = false;//是否打开菜单
    private List<SidebarMenu> children = new ArrayList<>();//子菜单

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setIsOpen(boolean isOpen) {
        this.isOpen = isOpen;
    }

    public List<SidebarMenu> getChildren() {
        return children;
    }

    public void setChildren(List<SidebarMenu> children) {
        this.children = children;
    }
}
